package com.base.balibrary.base;

import com.base.balibrary.view.custom.PullDownView;

import android.widget.ListView;


/**
 * BAndroid
 * Created by YichenZ on 2015/4/15 15:14.
 */
public class BaseMoreListView extends BaseActivity implements PullDownView.OnPullDownListener{
    protected ListView listView;
    protected PullDownView pullDownView;

    /**
     * 初始化ListView
     * @param id
     */
    protected void initListView(int id){
        if(pullDownView==null && listView==null){
            pullDownView=(PullDownView)findViewById(id);
            pullDownView.setOnPullDownListener(this);
            listView=pullDownView.getListView();
        }
    }

    @Override
    public void onRefresh() {

    }

    @Override
    public void onMore() {

    }
}
